-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrates topic-viewer-navbar-breadcrumb, subtopics-list, topic-viewer-page, practice-tab, topic-viewer-stories-list to angular components and introduces angular2+ material css. #9957
Conversation
@mschanteltc here are the screenshots: WDYT? |
The Revision Tab looks great! Just a few more notes about the "Start" button in the Practice Tab:
|
@mschanteltc I will change the font-weight/size but the border-radius is correct IMO. I checked with the current develop:
|
Hi @srijanreddy98. Due to recent changes in the "develop" branch, this PR now has a merge conflict. Please follow this link if you need help resolving the conflict, so that the PR can be merged. Thanks! |
@mschanteltc PTAL! |
The corner radius lgtm! Was there a change to the font weight? I might've missed it. |
As long as the corner radius of the button matches the might white container, it LGTM! Was there a change to the font weight? I might've missed it. |
@mschanteltc I have updated the font size. WDYT |
Hmm I still don't see the medium weight in the "Start" font. It still looks normal to me. Does a "medium" weight exist in the font library? |
@mschanteltc how does it look now? |
Thanks for the update! The font weight looks good now. Is it possible we can space out the characters in "START" a little more so we can see a small gap in between each one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed the code owner files and left two minor comments PTAL! (Feel free to merge this PR and fix one minor issue in any other PR!)
.github/CODEOWNERS
Outdated
@@ -354,6 +355,7 @@ | |||
/core/README.md @ankita240796 | |||
/extensions/README.md @ankita240796 | |||
/scripts/README.md @ankita240796 | |||
/core/templates/css/README.md @srijanreddy98 @bansalnitish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add in sorted order!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
@@ -39,6 +39,7 @@ | |||
'core/tests/release_sources/tmp_unzip.zip', 'scripts/linters/test_files/*', | |||
'core/tests/release_sources/tmp_unzip.tar.gz', | |||
'core/templates/combined-tests.spec.ts', | |||
'core/templates/css/oppia-material.css', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it here to be ignored by the linter because it is a generated CSS file and it was raising a lot of lint issues.
@mschanteltc PTAL! |
LGTM! |
I missed this, but for the Lessons Tab, the Chapter names should be aligned when a new line starts. Can we fix this so that the textbox aligns with the line, while leaving enough room on the left for a checkmark? (mock) |
Hi @mschanteltc, this PR is already merged. Could you please file a new issue instead? Thanks! |
…-page, practice-tab, topic-viewer-stories-list to angular components and introduces angular2+ material css. (oppia#9957) * Migrated PracticeTabComponent * Fixed references * Migrated TopicViewerNavbarBreadcrumb * Added untracked files * Migrates StoriesListComponent * Fixed frontend coverage * Styling changes + component addition * Migrates subtopics list component * Fixed frontend coverage * Fixed ngfor * Fix html * Fix translates and return types for ngOnInit * Fixed coverage check * Removes translation services following PR oppia#9842 + other minor fixes * Removed fully covered files * Undo constants * Oppia-material * Don't lint oppia-mat css * Lint check fixes 😭 * Material * Merge branch 'angular-mat-css' into tv-migrate * Changes * Changes * Changes * Changes to shared components * fix main component file * Change subtopics component styling * Linter 😑 * Fully covered files 😩 * Update story summary * Fix layout issues * Files seem to fully cover themselves 😂 * Review * Review * Review * Review * Change button and checkbox styles * Update readme.ms * Review * Style changes * Style changes * Style changes * Style changes * Changes * Review Co-authored-by: Madhav Sainanee <msainanee@google.com> Co-authored-by: Madhav Sainanee <30462390+orthodoxparadox@users.noreply.github.com>
Overview
Initial implementation by @orthodoxparadox #9790.
Material CSS doc:
PR Doc: https://docs.google.com/document/d/1UoCOC7XNhCZrWIMPAoR5Xex28OYWzteqXrqCU9gRUHQ/edit?usp=sharing
Steps to generate this file:
How I generated this:
Video: https://drive.google.com/file/d/1bRA0824CV6cDNYANcX2KT4skNilKdynh/view?usp=sharing
git clone https://github.com/angular/components.git
cd components
cd src/material/core/theming/prebuilt/
code .
(if you use vscode or open this folder in the code editor of your choice).md
-mat
and change primary and secondary variables in scss file.npm i -g node-sass
)node-sass ./deeppurple-amber.scss oppia-material.css
Changes:
Essential Checklist
PR Pointers